<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <button @click="getData">Get Data</button>
    <button @click="postData">Post Data</button>
  </div>
</body>

</html>